<<<<<<< HEAD
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="../../common/taglib.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"href="${pageContext.request.contextPath}/theme/<%=AppContext.getProperties("systemcolor")%>/css/page.css" />
		<link rel="stylesheet" type="text/css"href="${pageContext.request.contextPath}/theme/<%=AppContext.getProperties("systemcolor")%>/css/a_icon.css" />
		<link rel="stylesheet" type="text/css"href="${pageContext.request.contextPath}/theme/<%=AppContext.getProperties("systemcolor")%>/css/ui/jquery-ui-1.10.3.custom.css"/>
		<script type="text/javascript"src="${pageContext.request.contextPath}/script/jquery-1.9.1.js"></script>
		<script type="text/javascript"src="${pageContext.request.contextPath}/script/jquery-ui-1.10.3.custom.js"></script>
		<script type="text/javascript"src="${pageContext.request.contextPath}/script/jquery.form.js"></script>
		<style type="text/css">
			.dot {
			  background: url(../script/workflow/images/dot.gif) left center no-repeat;
			  padding-left: 10px;
			  display: block;
			  margin-left: 15px;
			  float: left;
			  line-height: 30px;
          }
          .editPanel td{
	         height: 30px;
          }
          .editPanel ._white{
          	background: #fff;
          	width:80%;
          }
		</style> 
	</head>
	<body>
		<div class="editPanel">
		<form method="post">
			<table>
				<!-- fengjinshou 20151221 如果是公文类型则显示配制文件中配制的类型 -->
				<s:if test="draftType=='document'">
					<s:iterator value="appTypes" var="type">
						<s:iterator value="showOfficeDocTypes" var="showType">
							<s:if test="#showType.equals(#type.typeName)">
								<tr class="trEven">
								<td>${type.typeName}</td>
								<td class="_white">
									<s:iterator value="#type.apps" var="app" status="row">
										<span class="dot" >
			                     			 <a href="${pageContext.request.contextPath}/jbpmService/start?appId=<s:property value='#app.appId'/>" target="_blank">${app.appName }</a>
			                      		</span>
									</s:iterator>
								</td>
								</tr>
							</s:if>
						</s:iterator>
					</s:iterator>
				</s:if>
				<s:else>
					<s:iterator value="appTypes" var="type">
						<tr class="trEven">
							<td>${type.typeName}</td>
							<td class="_white">
								<%
									//判断是否区分行政管理与扩展应用
									String 	ifShowExecutiveAndExpand = AppContext.getProperties("ifShowExecutiveAndExpand");
									if(ifShowExecutiveAndExpand!=null&&ifShowExecutiveAndExpand.equals("yes")){
								%>	
									<s:iterator value="#type.apps" var="app" status="row">
										<s:if test='#app.isValid=="1" && #app.isInherent!="1"'>
											<s:if test='#app.appId!="ff808081492d346d01493b010aef02e7" '><!-- 如果不是合同审批 -->
												<span class="dot" >
					                     			<a href="${pageContext.request.contextPath}/jbpmService/start?appId=<s:property value='#app.appId'/>" target="_blank"><s:property value="#app.appName"/></a>
					                      		</span>
			                     			</s:if>
			                    		</s:if>
									</s:iterator>
								<%}else{ %>						
									<s:iterator value="#type.apps" var="app" status="row">
										<s:if test='#app.isValid=="1"'>
											<s:if test='#app.appId!="ff808081492d346d01493b010aef02e7" '><!-- 如果不是合同审批 -->
												<span class="dot" >
					                     			 <a href="${pageContext.request.contextPath}/jbpmService/start?appId=<s:property value='#app.appId'/>" target="_blank">${app.appName }</a>
					                      		</span>
				                      		</s:if>
				                     		 </s:if>
									</s:iterator>
								<%}  %>		
							</td>
						</tr>
					</s:iterator>
				</s:else>
			</table>
		</form>
	</div>
	</body>
</html>
=======
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="../../common/taglib.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"href="${pageContext.request.contextPath}/theme/<%=AppContext.getProperties("systemcolor")%>/css/page.css" />
		<link rel="stylesheet" type="text/css"href="${pageContext.request.contextPath}/theme/<%=AppContext.getProperties("systemcolor")%>/css/a_icon.css" />
		<link rel="stylesheet" type="text/css"href="${pageContext.request.contextPath}/theme/<%=AppContext.getProperties("systemcolor")%>/css/ui/jquery-ui-1.10.3.custom.css"/>
		<script type="text/javascript"src="${pageContext.request.contextPath}/script/jquery-1.9.1.js"></script>
		<script type="text/javascript"src="${pageContext.request.contextPath}/script/jquery-ui-1.10.3.custom.js"></script>
		<script type="text/javascript"src="${pageContext.request.contextPath}/script/jquery.form.js"></script>
		<style type="text/css">
			.dot {
			  background: url(../script/workflow/images/dot.gif) left center no-repeat;
			  padding-left: 10px;
			  display: block;
			  margin-left: 15px;
			  float: left;
			  line-height: 30px;
          }
          .editPanel td{
	         height: 30px;
          }
          .editPanel ._white{
          	background: #fff;
          	width:80%;
          }
		</style> 
	</head>
	<body>
		<div class="editPanel">
		<form method="post">
			<table>
				<!-- fengjinshou 20151221 如果是公文类型则显示配制文件中配制的类型 -->
				<s:if test="draftType=='document'">
					<s:iterator value="appTypes" var="type">
						<s:iterator value="showOfficeDocTypes" var="showType">
							<s:if test="#showType.equals(#type.typeName)">
								<tr class="trEven">
								<td>${type.typeName}</td>
								<td class="_white">
									<s:iterator value="#type.apps" var="app" status="row">
										<span class="dot" >
			                     			 <a href="${pageContext.request.contextPath}/jbpmService/start?appId=<s:property value='#app.appId'/>" target="_blank">${app.appName }</a>
			                      		</span>
									</s:iterator>
								</td>
								</tr>
							</s:if>
						</s:iterator>
					</s:iterator>
				</s:if>
				<s:else>
					<s:iterator value="appTypes" var="type">
						<tr class="trEven">
							<td>${type.typeName}</td>
							<td class="_white">
								<%
									//判断是否区分行政管理与扩展应用
									String 	ifShowExecutiveAndExpand = AppContext.getProperties("ifShowExecutiveAndExpand");
									if(ifShowExecutiveAndExpand!=null&&ifShowExecutiveAndExpand.equals("yes")){
								%>	
									<s:iterator value="#type.apps" var="app" status="row">
										<s:if test='#app.isValid=="1" && #app.isInherent!="1"'>
											<s:if test='#app.appId!="ff808081492d346d01493b010aef02e7" '><!-- 如果不是合同审批 -->
												<span class="dot" >
					                     			<a href="${pageContext.request.contextPath}/jbpmService/start?appId=<s:property value='#app.appId'/>" target="_blank"><s:property value="#app.appName"/></a>
					                      		</span>
			                     			</s:if>
			                    		</s:if>
									</s:iterator>
								<%}else{ %>						
									<s:iterator value="#type.apps" var="app" status="row">
										<s:if test='#app.isValid=="1"'>
											<s:if test='#app.appId!="ff808081492d346d01493b010aef02e7" '><!-- 如果不是合同审批 -->
												<span class="dot" >
					                     			 <a href="${pageContext.request.contextPath}/jbpmService/start?appId=<s:property value='#app.appId'/>" target="_blank">${app.appName }</a>
					                      		</span>
				                      		</s:if>
				                     		 </s:if>
									</s:iterator>
								<%}  %>		
							</td>
						</tr>
					</s:iterator>
				</s:else>
			</table>
		</form>
	</div>
	</body>
</html>
>>>>>>> branch 'master' of https://git.oschina.net/qinggroup/qing-framework.git
